<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>督查管理-督查列表</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="/overseer_assets/css/bootstrap.min.css" rel="stylesheet">
	<link href="/overseer_assets/css/style.css" rel="stylesheet">
	<link href="/overseer_assets/css/font-awesome.css" rel="stylesheet">
</head>

<body>
	<div class="container-fluid">
		<div class="om-ctl-mes">
			<div class="title">
				<div class="col-xs-12"><span class="fa fa-list-ul"> 督查管理</span><b class="fa fa-caret-right"></b><i>督查列表</i></div>
			</div>
			
			<div  class="mes-conttent col-xs-12">
				<table class="table off-table">
	              <thead>
	             	<tr>
			        <th>编号</th>
			        <th>部门名称</th>
			        <th>最近打扫日期</th>
			        <th>最近检查日期</th>
			        <th>检查分数</th>
			        <th>督查人员</th>
			        <th>操作</th>
		            </tr>
	              </thead>
	             <tbody>
                    <?foreach($tDIData as $k => $tRow){?>
                    <?foreach($tRow as $key => $Row){?>
                    <tr>
                        <td><?=$k+1?></td>
                        <td><?=$Row['introduce']?></td>
                        <td><?=empty($Row['max(date)'])?'暂无':$Row['max(date)']?></td>
                        <td><?=empty($Row['checktime'])?'暂无':$Row['checktime']?></</td>
                        <td><?=$Row['hygiene']+$Row['room']+$Row['toilet'].'分'?></td>
                        <td><?=$Row['createuser']?></td>
                        <td>
                        <button type="button" onclick="location.href='/admin_overseer/detail?department=<?=$Row['department']?>&id=<?=$Row['id']?>';">查看详情</button>
</td>
                    </tr>
                    <?}?>
                    <?}?>
	            </tbody>
              </table>
            <?=$tShow?>
			</div>
		</div>
    </div>
        <script type="text/javascript" src="/overseer_assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="/overseer_assets/js/jq.js"></script>
</body>
</html>
